package com.halixun.d2app.utils;

import android.os.Handler;
import android.util.Log;

import com.google.gson.Gson;
import com.halixun.d2app.bean.OrderListInfo;
import com.halixun.d2app.bean.PrinterInfo;
import com.halixun.d2app.printer.USBPrinter;

import java.util.List;

/**
 * @ProjectName: D2App
 * @Package: com.halixun.d2app.utils
 * @ClassName: MyHandler
 * @Description: java类作用描述
 * @Author: hdx
 * @CreateDate: 2019/12/6 13:51
 * @UpdateUser: hdx
 * @UpdateDate: 2019/12/6 13:51
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class MyHandler extends Handler {



    public MyHandler(MyCallback callback){
        super(callback);
//        this.listInfos = infos;
//        this.orderCode = orderCode;
//        this.oddNumber = oddNumber;
//        this.orderTime = orderTime;
//        this.usbPrinter = usbPrinter;
//        Log.e("MyHandler",new Gson().toJson(listInfos));
    }


    public abstract static class MyCallback implements Callback{

        public MyCallback(PrinterInfo printerInfo){
            this.printerInfo = printerInfo;
        }

        public PrinterInfo printerInfo;
    }
}
